#ifndef __ERR_LOG_HEAF_FILE__
#define __ERR_LOG_HEAF_FILE__

#include "LogMacro.h"
#include "BaseLog.h"

class CErrLog : public CLog
{
public:
	int SetItems(const int dwModuleID, 
				 const int dwErrCode, 
				 const char* strDesc, 
				 const int nErrLevel,
				 const char* FileName,
				 const int FileLine);

protected:
	int MakeDir();
	int WriteHeader();
	int WriteItems();
	
private:
	int m_dwModuleID;
	int m_dwErrCode;
	int m_dwErrLevel;
	string	m_FileName;
	int		m_FileLine;
	string m_strDesc;
	
};

#endif
